package com.smasher.doc.operation;

import android.content.ContentResolver;
import android.content.res.Resources;
import android.net.Uri;

import androidx.annotation.RawRes;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public interface GenerateInputStream {

    InputStream generateRaw(final Resources resources, @RawRes int id) throws IOException;

    InputStream generateFile(File file) throws FileNotFoundException;

    InputStream generateUri(ContentResolver contentResolver, Uri uri) throws IOException;
}
